﻿using System.Collections.Generic;

namespace Batman.SQLScripts
{
    public class Mapping
    {
        public string Name { get; set; }

        public List<Schema> Schemas { get; set; }
    }

    public class Schema
    {
        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        public List<SchemaItem> Items { get; set; }

        public SchemaCommand Command { get; set; }
    }

    public class SchemaItem
    {
        public string Name { get; set; }

        public string Remark { get; set; }
    }

    public class SchemaCommand
    {
        public string Text { get; set; }
    }
}
